home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-06-15 | 4.7 KB | 130 lines | [TEXT/CWIE] |
-
- ------------------------------------------------------------------------------
- Building MacCVS Pro
-
- Simon Fraser sfraser@netscape.com
-
- ------------------------------------------------------------------------------
-
- This document describes the requirements and steps necessary to build MacCVS Pro.
-
- What you will need:
-
- 1. About 45 MB free disk space for the source and binaries after compilation.
-
- 2. An installation of CodeWarrior Pro 4 or later. The MacCVS 2.5 sources
- compile with CodeWarrior Pro 4. For more information, see Metrowerks
- web site at <http://www.metrowerks.com>.
-
- 3. PowerPlant 1.9.3, available from the Metrowerks web site.
-
- 4. Universal Headers 3.2, available from Apple's development web site.
-
- 5. The MacCVS source distibution, which is available from:
-
- <http://www.maccvs.org/source/>
-
- This document describes building the source for MacCVS Pro 2.5.
-
- 6. The Find_icon libary by James Walker, which is available from:
-
- <ftp://users.aol.com/jwwaiker/pub/Find_icon3.0.3.sit>
-
- Versions 3.0.3 and later should work OK.
-
- Version 3.1 includes support for Icon Services in MacOS 8.5. If you
- compile version 3.1, you should build with Icon Services support turned off.
- For more information on this subject, please look at the Read Me file.
-
- 7. Apple's MoreFiles code, which is available from:
-
- <http://www.devworld.apple.com/dev/techsupport/source/Files.html>
-
- Version 1.4.9 is required if you build with Find Icon 3.1. Otherwise version
- 1.4.6 should work OK.
-
-
- Installing the source
- ---------------------
-
- Obtain and unstuff the MacCVS source. Obtain and unstuff the Find_icon
- source, and the MoreFiles source, and put them in the folder called
- 'maccvs2'. The main folders of your source tree should thus look like this:
-
- Please note that the 'x' in "MoreFiles 1.4.x" implies the actual version
- number of the More Files library you are building with. So if you are building
- with More Files 1.4.9, then the directory should be named "MoreFiles 1.4.9".
-
- maccvs2:
- CVS Engine (CVS engine code)
- Find_icon (James Walker's Find_icon library)
- Front End Project (CodeWarrior projects and PCH files)
- Headers (MacCVS header files)
- MoreFiles 1.4.x (Apple's MoreFiles code)
- Resources (MacCVS resource files)
- Source (MacCVS source files)
-
-
- Compiling the libraries
- -----------------------
-
- * MoreFiles
-
- Go into the MoreFiles 1.4.x dirctory, and open the CodeWarrior projects with
- CodeWarrior. They may get converted to CodeWarrior 4 projects automatically;
- this is OK, just use the converted projects.
-
- If there is an unfound access path warning in the 68k project regarding
- HMoveFilesCompat, just ignore it (and delete that search path in the prefs).
-
- You should set the Processor Preferences as follows (unspecified prefs should
- be off unless you know what you are doing and want to turn them on):
-
- 68k: Code Model: Smart
- Struct Alignment: 68k
- 4-Byte ints: On
- 8-Bytes doubles: On
- Far Data: On
- Far String Constants: On
- Global Register Allocation: On
-
- and in the Target prefs panel set this to be a Library with A5 relative data.
-
- * Find_icon
-
- The Find_icon project is distributed as a multi-target project. We want to build
- the targets "Library 68K A5" and "Library PowerPC".
-
- Note that in Find_icon:Headers is a file called "Appearance.h". Since this
- should already be present in your Universal Headers folder in the CodeWarrior
- install, you should remove the version from the Find_icon:Headers directory.
-
- In the 68k target, set the '68k processor' settings as specified above for
- MoreFiles. Build this 68k target and the PPC library target. The compiled
- libraries should go into the 'Libs' directory, where the MacCVS project
- will find them.
-
- Note that the Find_icon distribution expects there to be a folder called
- "MoreFiles 1.4.x" at the same level as its enclosing folder.
-
-
- Compiling MacCVS
- ----------------
-
- Open the "MacCVS Front End.prj" project in the "Front End Project" folder.
- It expects to you have a PowerPlant installation in your Metrowerks folder.
- Choose the target you wish to compile, for example 'MacCVS Front End PPC_debug'.
- There is a 'FAT' target which will compile the two non-debug targets and make
- a fat binary for you.
-
- Do a 'Make'. Go and get a cup of coffee. Come back, and enjoy MacCVS Pro!
-
- ------------------------------------------------------------------------------
-
- Please direct corrections and suggestions about this document to:
-
- Simon Fraser
- sfraser@netscape.com
-
-
-